package com.guigu.tms.commons.dispatch.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 缓冲路线子表
 * </p>
 *
 * @author zwj
 * @since 2022-10-19
 */
@TableName("pd_cache_line_detail")
public class CacheLineDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 缓冲线路表id
     */
    private String cacheLineId;

    /**
     * 起始机构
     */
    private String startAgencyId;

    /**
     * 终点机构
     */
    private String endAgencyId;

    /**
     * 从1开始递增
     */
    private Integer sort;

    /**
     * 业务表线路ID
     */
    private String transportLineId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCacheLineId() {
        return cacheLineId;
    }

    public void setCacheLineId(String cacheLineId) {
        this.cacheLineId = cacheLineId;
    }
    public String getStartAgencyId() {
        return startAgencyId;
    }

    public void setStartAgencyId(String startAgencyId) {
        this.startAgencyId = startAgencyId;
    }
    public String getEndAgencyId() {
        return endAgencyId;
    }

    public void setEndAgencyId(String endAgencyId) {
        this.endAgencyId = endAgencyId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getTransportLineId() {
        return transportLineId;
    }

    public void setTransportLineId(String transportLineId) {
        this.transportLineId = transportLineId;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "CacheLineDetail{" +
            "id=" + id +
            ", cacheLineId=" + cacheLineId +
            ", startAgencyId=" + startAgencyId +
            ", endAgencyId=" + endAgencyId +
            ", sort=" + sort +
            ", transportLineId=" + transportLineId +
            ", createDate=" + createDate +
        "}";
    }
}
